package cn.hughie.thread;

import java.util.concurrent.ExecutionException;

/**
 * @author yuh
 * @date 2018/5/24 13:46
 * @description
 */
public class Main {

    public static void main(String[] args) throws ExecutionException, InterruptedException {
        Memorizer memorizer = new Memorizer();
        for (int i = 0; i < 100; i++) {
            Integer compute = memorizer.compute(i);

        }
        for (int i = 0; i < 100; i++) {
            Integer compute = memorizer.compute(i);

        }
    }
}
